WCPay\WooPay_Tracker A

Total Complexity 64
Dependencies 7
Dependents 2
Total lines 486
Lines of code 261
Logical lines of code 126
Comment lines 149
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
should_enable_tracking()
A
49 13 31
tracks_build_event_obj()
S
49 6 29
ajax_tracks()
S
52 6 25
tracks_record_event()
S
56 6 18
tracks_get_identity()
S
52 5 27
woopay_locations_updated()
S
61 3 12
is_country_tracks_eligible()
S
67 3 7
checkout_order_processed()
S
69 3 6
thank_you_page_view()
S
68 3 7
__construct()
S
56 1 17
maybe_record_admin_event()
S
68 2 7
maybe_record_wcpay_shopper_event()
S
70 2 6
maybe_record_event()
S
70 2 6
ajax_tracks_id()
S
72 2 6
classic_checkout_start()
S
65 1 10
blocks_checkout_start()
S
65 1 10
classic_cart_page_view()
S
69 1 8
blocks_cart_page_view()
S
69 1 8
classic_product_page_view()
S
69 1 8
pay_for_order_page_view()
S
76 1 5
must_save_payment_method_to_platform()
S
69 1 8